package cn.wolfcode.crm.util;

/**
 * CRM系统常量管理
 */
public class CRMConstant {
    public static final String NAME = "cn/wolfcode/crm";

    public class Employee {
        public static final int STATE_NORMAL = 1;
    }

    public class Permission {
        public static final String STUDENT_DELETE = "删除学生权限";
    }

    public class Client {

        /**
         * 客户状态常量
         * STATE_NORMAL为潜在客户,默认创建客户时即为潜在客户,值为0
         * STATE_RESOURCE为资源池客户,其为已经转入客户资源池的客户,值为1
         * STATE_FORMAL为正式客户,值为2
         * STATE_SUGGEST为建议转入资源池客户,当客户暂时开发不了需要转入资源池,值为3
         * STATE_DEVELOP为开发中客户,
         * STATE_COMPENSTATE为已经进行了赔付的客户,
         */
        public static final int STATE_NORMAL = 0;
        public static final int STATE_RESOURCE = 1;
        public static final int STATE_FORMAL = 2;
        public static final int STATE_SUGGEST = 3;
        public static final int STATE_DEVELOP = 4;
        public static final int STATE_COMPENSTATE = 5;
        /**
         * 客户性别
         */
        public static final int GENDER_MEN = 1;
        public static final int GENDER_WOMEN = 0;

    }

    public class Accident {
        /**
         * 审核状态常量
         * CLAIM_STATE_UNVERIFIED为等待验证用户,未证实用户,表示用户已报案但并未验证,值为1,当用户报案时默认为该值
         * CLAIM_STATE_VERIFIED为已经验证用户,证实用户,表示用户已报案并且验证通过,值为2
         * CLAIM_STATE_UNINVESTIGATE为查勘未通过,用户将转为废弃单,值为3
         * CLAIM_STATE_INVESTIGATE为查勘通过,表示用户已经通过并且进入核价核损界面等待上级审核,值为4
         * CLAIM_STATE_UNAUDIT为审批未通过,当审批未通过时重新转入查勘界面进行查勘,值为5
         * CLAIM_STATE_AUDIT为审批通过,当审批通过时将进入理赔支付界面,值为6
         * CLAIM_STATE_PAY为已经赔付,值为7
         */
        public static final int CLAIM_STATE_UNVERIFIED = 1;
        public static final int CLAIM_STATE_VERIFIED = 2;
        public static final int CLAIM_STATE_UNINVESTIGATE = 3;
        public static final int CLAIM_STATE_INVESTIGATE = 4;
        public static final int CLAIM_STATE_UNAUDIT = 5;
        public static final int CLAIM_STATE_AUDIT = 6;
        public static final int CLAIM_STATE_PAY = 7;

        /**
         * RESULT_AUDIT表示如果审批通过了,值为1
         * RESULT_PAY表示已经赔付
         */
        public static final int RESULT_AUDIT = 1;
        public static final int RESULT_PAY = 2;
    }

    public class Insurancebill {

        /**
         * 保险单状态常量
         * STATE_NORMAL为初始状态,默认值为0
         * STATE_TEMP为暂存单,其当已经转入暂存单,值为1
         * STATE_CORRECT为批改单,其当已经转入批改单,值为2
         * STATE_WAIT_ADUIT为提审未审核,其当已经提审,值为3
         * STATE_REJECT为审核拒绝,当保险审核被拒绝时,值为4
         * STATE_WAIT_PAY为通过审核待付款,其当已经通过审核,值为5
         * STATE_ISSUE为出单,当出保险单时,值为6
         * STATE_COMPENSATE为进行过赔付操作的保险单, 值为7
         * STATE_OTHER为其他,值为-1
         * STATE_All为全部,值为-2
         */
        public static final int STATE_NORMAL = 0;
        public static final int STATE_TEMP = 1;
        public static final int STATE_CORRECT = 2;
        public static final int STATE_WAIT_ADUIT = 3;
        public static final int STATE_REJECT = 4;
        public static final int STATE_WAIT_PAY = 5;
        public static final int STATE_ISSUE = 6;
        public static final int STATE_COMPENSATE = 7;
        public static final int STATE_OTHER = -1;
        public static final int STATE_All = -2;
    }

    public class sign {
        /**
         * 签到状态常量池
         * 签到状态值就是1
         * 签退状态值就是0
         * 迟到状态值是2
         * 早退状态值是3
         */


        public static final int NOMAL = 1;
        public static final int AUDITED = 0;
        public static final int LATE = 2;
        public static final int LEAVEEARLY = 3;
    }

    public class Claimresult {
        public static final int PAY = 1;
    }


}
